<nz-modal [(nzVisible)]="isVisible"
          nzTitle="分配角色权限"
          [nzWidth]="800"
          (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()"
          [nzOkLoading]="isOkLoading"
>
  <div [ngClass]="isMobile?'wrap-mobile':'wrap'">
    <nz-tabset nzType="card" [nzSelectedIndex] = "tabsIndex" (nzSelectedIndexChange) = "selectedIndexChange($event)">
      <nz-tab nzTitle="PC网页">
      </nz-tab>
      <nz-tab nzTitle="商户小程序">

      </nz-tab>

    </nz-tabset>
  </div>
  <div class="container">
    <nz-tree #tree
             [nzData]="nodes"
             nzCheckable
             nzMultiple
             [nzCheckedKeys]="defaultCheckedKeys"
             [nzExpandedKeys]="defaultExpandedKeys"
             [nzSelectedKeys]="defaultSelectedKeys"
             (nzClick)="nzEvent($event)"
             (nzExpandChange)="nzEvent($event)"
             (nzCheckBoxChange)="nzEvent($event)">
    </nz-tree>
  </div>

</nz-modal>
